#pragma once
#include "fs_algo.h"

class ResourceExtractor
{
public:
	ResourceExtractor(const char* path);
	void gaze_extract(const vector<string> &seq, vector<vector<string> > &features);
private:
	void gaze_init_set(const string& path, set<string>& gaze_set, set<string>& gaze_set_lower);
	void gaze_extract_action(const string& root, int l, int r, int cur, vector<string>& features);
private:
	map<string,set<string> > gaze;
	map<string,set<string> > gaze_lower;
};
